import RouteView from "@/components/RouteView.vue";
const systemRouters = [
  {
    path: "system",
    name: "System",
    component: RouteView, // 只有有 子节点的， 该字段用 RouteView
    meta: { title: "系统设置", icon: "SetUp" },
    children: [
      {
        path: "persona",
        name: "Persona",
        meta: { title: "个人中心" },
        component: () => import("@/views/system/Persona.vue"),
      },
      {
        path: "menu",
        name: "Menu",
        meta: { title: "菜单管理" },
        component: () => import("@/views/system/Menu.vue"),
      },
      {
        path: "user",
        name: "User",
        meta: { title: "用户管理" },
        component: () => import("@/views/system/User.vue"),
      },
      {
        path: "userDetail",
        name: "UserDetail",
        hidden: true,
        meta: { title: "系统用户详情", hidden: true },
        component: () => import("@/views/system/UserDetail.vue"),
      },
      {
        path: "helpfeedback",
        name: "HelpFeedback",
        meta: { title: "帮助与反馈" },
        component: () => import("@/views/system/HelpFeedback.vue"),
      },
    ],
  },
];

export default systemRouters;
